Count of Barcelona Raymond Berengar IV of Barcelona and future Queen of Aragon Petronila of Aragon in 1137 that formed the Crown of Aragon .
M arriagepeople.marriageBarbara also did not stop Sigismund from supporting the wedding between Louis II of Hungary and Maria of Castile , granddaughter of Maximilian I , Holy Roman Emperor .
M arriagepeople.marriageJogaila and Queen Jadwiga of Poland on 1385 , generally called the Union of Krewo .
M arriagepeople.marriageforeign dynasties seems to have ceased in 1504 , with the last marriage of a sultan to a foreign princess being that of Murad II and Mara Branković , daughter of the Serbian ruler Đurađ Branković , in 1435 .
M arriagepeople.marriageIsabella I of Castile and Ferdinand II of Aragon on 1469 that laid the foundations for the kingdom of Spain .